-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: upsert not working because sqlite3
version
#3425
Conversation
docker/quickstart.Dockerfile
Outdated
# Install Elasticsearch and configure it | ||
apt-get update && apt-get install -y elasticsearch=8.8.2 && \ | ||
mkdir /usr/share/elasticsearch/config && \ | ||
echo "cluster.name: \"docker-cluster\"\nnetwork.host: 0.0.0.0\npath.data: \"/data/elasticsearch\"bootstrap.system_call_filter: false" > /usr/share/elasticsearch/config/elasticsearch.yml && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if is possible but we could use just the defined ARGILLA_HOME as the parent path for the elasticsearch data. $ARGILLA_HOME/elasticsearch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just bypass the ARGILLA_HOME
definition and force the value to /data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some lines below we're doing ENV ARGILLA_HOME_PATH=/data/argilla
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at some point of this file we can force the ARGILLA_HOME_PATH
to /data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we're forcing it to /data/argilla
6367db1
to
fc85cef
Compare
fc85cef
to
af37495
Compare
Description
This PRs updates the
Dockerfile
parent image frompython:3.9.16-slim
topython:3.10.12-slim
, which comes withsqlite3==3.40.1
installed.In addition, the
quickstart.Dockerfile
has been updated to:argilla/argilla-server:latest
as parent imageelasticsearch
as described in https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html#debThis way, the
Dockerfile
andquickstart.Dockerfile
are aligned using the same system dependencies, python dependencies and Python version.Finally, a new workflow has been added
build-push-docker.yml
which builds and push the Docker image and has the version of the build docker image as output. It's been needed to add this, as for building theargilla/argilla-quickstart
we need to pass the build argumentARGILLA_VERSION
with the desired value of theargilla/argilla-server
.Closes #3423
Type of change
How Has This Been Tested
pre.argilla.io
1.12.0
upgrade to1.13.0
. The data is not lost.Checklist